home *** CD-ROM | disk | FTP | other *** search
/ Japan Image Selection - A Visual Education Tool / JapanImageSelect.iso / pc / html / show / slideshow02.swf / scripts / DefineButton2_112 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2004-03-05  |  1.5 KB  |  79 lines

  1. on(release){
  2.    if(_root.image.s == 1)
  3.    {
  4.       stopAllSounds();
  5.       _root.image.gotoAndPlay("s2");
  6.    }
  7.    if(_root.image.s == 2)
  8.    {
  9.       stopAllSounds();
  10.       _root.image.gotoAndPlay("s3");
  11.    }
  12.    if(_root.image.s == 3)
  13.    {
  14.       stopAllSounds();
  15.       _root.image.gotoAndPlay("s4");
  16.    }
  17.    if(_root.image.s == 4)
  18.    {
  19.       stopAllSounds();
  20.       _root.image.gotoAndPlay("s5");
  21.    }
  22.    if(_root.image.s == 5)
  23.    {
  24.       stopAllSounds();
  25.       _root.image.gotoAndPlay("s6");
  26.    }
  27.    if(_root.image.s == 6)
  28.    {
  29.       stopAllSounds();
  30.       _root.image.gotoAndPlay("s7");
  31.    }
  32.    if(_root.image.s == 7)
  33.    {
  34.       stopAllSounds();
  35.       _root.image.gotoAndPlay("s8");
  36.    }
  37.    if(_root.image.s == 8)
  38.    {
  39.       stopAllSounds();
  40.       _root.image.gotoAndPlay("s9");
  41.    }
  42.    if(_root.image.s == 9)
  43.    {
  44.       stopAllSounds();
  45.       _root.image.gotoAndPlay("s10");
  46.    }
  47.    if(_root.image.s == 10)
  48.    {
  49.       stopAllSounds();
  50.       _root.image.gotoAndPlay("s11");
  51.    }
  52.    if(_root.image.s == 11)
  53.    {
  54.       stopAllSounds();
  55.       _root.image.gotoAndPlay("s12");
  56.    }
  57.    if(_root.image.s == 12)
  58.    {
  59.       stopAllSounds();
  60.       _root.image.gotoAndPlay("s13");
  61.    }
  62.    if(_root.image.s == 13)
  63.    {
  64.       stopAllSounds();
  65.       _root.image.gotoAndPlay("s14");
  66.    }
  67.    if(_root.image.s == 14)
  68.    {
  69.       stopAllSounds();
  70.       _root.image.gotoAndPlay("s15");
  71.    }
  72.    if(_root.image.s == 15)
  73.    {
  74.       stopAllSounds();
  75.       _root.image.gotoAndPlay("s16");
  76.    }
  77.    gotoAndStop(1);
  78. }
  79.